package com.atguigu.scw.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * @author: mr.zhang
 * @description:
 * @create: 2020-11-02 21:04
 */
@Controller
public class DispatcherController {
    //转发到首页的方法
    @RequestMapping(value={"/index","/","/index.html"},method = RequestMethod.GET)
    public String index(){
        return "index";
    }


}
